package com.clerkq.FP.model
{
	public class FlipArea
	{
		private var _top:Boolean;
		private var _bottom:Boolean;
		private var _side:Boolean;
		private var _cornerWidth:Number;
		private var _cornerHeight:Number;
		private var _sideWidth:Number;
		private var _flipMarginX:Number;
		private var _flipMarginY:Number;
		
		public function FlipArea()
		{
			super();
			_top = true;
			_bottom = true;
			_side = true;
			_cornerWidth = 30;
			_cornerHeight = 20;
			_sideWidth = 30;
			_flipMarginX = 0;
			_flipMarginY = 0;
		}
		
		public function setValue(	top:Boolean, 
									bottom:Boolean, 
									side:Boolean, 
									cornerWidth:Number, 
									cornerHeight:Number, 
									sideWidth:Number, 
									flipMarginX:Number, 
									flipMarginY:Number):void{
			_top = top;
			_bottom = bottom;
			_side = side;
			_cornerWidth = cornerWidth;
			_cornerHeight = cornerHeight;
			_sideWidth = sideWidth;
			_flipMarginX = flipMarginX;
			_flipMarginY = flipMarginY;
		}
		
		public function get top():Boolean				{		return _top;				}
		public function get bottom():Boolean			{		return _bottom;				}
		public function get side():Boolean				{		return _side;				}
		public function get cornerWidth():Number		{		return _cornerWidth;		}
		public function get cornerHeight():Number		{		return _cornerHeight;		}
		public function get sideWidth():Number			{		return _sideWidth;			}
		public function get flipMarginX():Number		{		return _flipMarginX;		}
		public function get flipMarginY():Number		{		return _flipMarginY;		}
	}
}